<?php
	echo form_open('instructor/changePassword'); 
?>

<table>
	<tr>
			<td><?php echo form_label('New Password: ','password');?></td>
			<td>
				<?php 
					$data = array(
						'name'        => 'password',
						'id'          => 'password',
						'value'       =>  "",
						'maxlength'   => '10',
						'size'        => '20',
						'style'       => 'width:85%',
					);
					echo form_password($data);
				?>
			</td>
			<td>
				<?php echo form_error('password'); ?>
			</td>
		</tr>
		
		<tr>
			<td><?php echo form_label('Confirm Password: ','cpassword');?></td>
			<td>
				<?php 
					$data = array(
						'name'        => 'cpassword',
						'id'          => 'cpassword',
						'value'       =>  "",
						'maxlength'   => '10',
						'size'        => '20',
						'style'       => 'width:85%',
					);
					echo form_password($data);
				?>
			</td>
			<td>
				<?php echo form_error('cpassword'); ?>
			</td>
		</tr>
</table>

<?php
	$data = array(
		'value' => 'Save',
		); 
	echo form_submit($data);
?>
<?php echo form_close(); ?>

<?php echo anchor('instructor/index','Back to Home Page');?> </br>
<?php echo anchor('instructor/logout','Logout');?>